<?php
	class image_upload_define
	{
		// Image upload error;
		public $msg_img_logo_error_extension;
		public $msg_img_logo_error_size;
		public $msg_img_logo_error_dimension;
		public $msg_img_logo_error_limit_count;
		
		public $msg_img_cover_error_extension;
		public $msg_img_cover_error_size;
		public $msg_img_cover_error_dimension;
		public $msg_img_cover_error_limit_count;	
		
		public $cafe_img_limit_height, $cafe_img_limit_width, $cafe_img_limit_size, $cafe_img_extensions;
		public $pdt_img_limit_height, $pdt_img_limit_width, $pdt_img_limit_size, $pdt_img_extensions;
		public $cover_img_limit_height, $cover_img_limit_width, $cover_img_limit_size, $cover_img_extensions;
		public $logo_img_limit_height, $logo_img_limit_width, $logo_img_limit_size, $logo_img_extensions;
		public $map_img_limit_height, $map_img_limit_width, $map_img_limit_size, $map_img_limit_extensions;				
		
		public $carousel_img_limit_height, $carousel_img_limit_width, $carousel_img_limit_size, $carousel_img_extensions;		
		public $thumb_article_img_limit_height, $thumb_article_img_limit_width, $thumb_article_img_limit_size, $thumb_article_img_extensions;		
		public $banner_img_limit_height, $banner_img_limit_width, $banner_img_limit_size, $banner_img_extensions;
		
		function image_upload_define() 
		{	
			$this->cafe_img_limit_height = 600; // px unit
			$this->cafe_img_limit_width = 800; // px unit
			$this->cafe_img_limit_size = 1000000; // bytes unit			
			$this->cafe_img_extensions = array('png', 'jpg', 'PNG', 'JPG');

			$this->pdt_img_limit_height = 600; // px unit
			$this->pdt_img_limit_width = 800; // px unit
			$this->pdt_img_limit_size = 1000000; // byes unit
			$this->pdt_img_extensions = array('png', 'jpg', 'PNG', 'JPG');
			
			$this->cover_img_limit_height = 300; // px unit
			$this->cover_img_limit_width = 1024; // px unit
			$this->cover_img_limit_size = 1000000; // byes unit
			$this->cover_img_extensions = array('png', 'jpg', 'PNG', 'JPG');
			
			$this->logo_img_limit_height = 150; // px unit
			$this->logo_img_limit_width = 150; // px unit
			$this->logo_img_limit_size = 500000; // byes unit			
			$this->logo_img_extensions = array('png', 'jpg', 'PNG', 'JPG');
			
			$this->map_img_limit_height = 600;
			$this->map_img_limit_width = 800;
			$this->map_img_limit_size = 1000000;
			$this->map_img_extensions = array('png', 'jpg', 'PNG', 'JPG');
			
			$this->carousel_img_limit_height = 600; // px unit
			$this->carousel_img_limit_width = 800; // px unit
			$this->carousel_img_limit_size = 1000000; // bytes unit			
			$this->carousel_img_extensions = array('png', 'jpg', 'PNG', 'JPG');
						
			$this->thumb_article_img_limit_height = 150; // px unit
			$this->thumb_article_img_limit_width = 250; // px unit
			$this->thumb_article_img_limit_size = 100000; // bytes unit			
			$this->thumb_article_img_extensions = array('png', 'jpg', 'PNG', 'JPG');
				
			$this->banner_img_limit_height = 300; // px unit
			$this->banner_img_limit_width = 300; // px unit
			$this->banner_img_limit_size = 500000; // bytes unit			
			$this->banner_img_extensions = array('png', 'jpg', 'PNG', 'JPG');
			
		}
	}
?>